-
Notifications
You must be signed in to change notification settings - Fork 13.5k
Update bundled musl to 1.2.5 #142682
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Update bundled musl to 1.2.5 #142682
Conversation
These commits modify compiler targets. Some changes occurred in src/doc/rustc/src/platform-support cc @Noratrieb |
The previous PR stalled out on concerns of ecosystem breakage, but see this comment for @est31 concluding we can move forward without further mitigation: #125692 (comment) |
I would like to nominate this for FCP or whatever the current process is to land these kinds of major toolchain changes. Landing this update is expected to resolve ongoing issues in the ecosystem with rootless docker images. I've also drafted a rust-lang blogpost announcing this change (based on the previous musl update's post). |
The process for bumping the target baseline of Tier 2 targets is currently a Major Change Proposal + FCP (see Changing target baseline (e.g. minimum Darwin or Windows version bump) part). If you draft an MCP, I'll help with the notifying relevant target maintainers part.
|
r? @wesleywiser (since you've reviewed the previous attempt) |
I have filed an MCP: |
Building host compiler plus musl stds for crater run. @bors try |
Update bundled musl to 1.2.5 Update the bundled musl library from 1.2.3 to the 1.2.5 release from February 29, 2024. [musl releases page](https://musl.libc.org/releases.html) Prior update: #107129 MCP for this change: rust-lang/compiler-team#887 -------- This is a rebase of * #125692 Which removes the second speculative commit which ended up not panning out. I've added my own second commit that updates all other places I could find that referenced musl 1.2.3 in the codebase. try-job: dist-x86_64-musl try-job: dist-i586-gnu-i586-i686-musl try-job: dist-x86_64-linux
💥 Test timed out |
@bors2 delegate=try |
This comment was marked as duplicate.
This comment was marked as duplicate.
This comment was marked as duplicate.
This comment was marked as duplicate.
This comment was marked as duplicate.
This comment was marked as duplicate.
@craterbot run mode=build-and-test name=musl_upgrade_1_2_5_with_libc_patch_0 start=try#8de4c7234dd9b97c9d76b58671343fdbbc9a433e+target=x86_64-unknown-linux-musl end=try#c066bf6804adc55193b71afdff6a56922f4a8689+target=x86_64-unknown-linux-musl+patch=libc=[email protected]:rust-lang/libc=libc-0.2 crates=https://gist.githubusercontent.com/workingjubilee/075aa4757096ce213b76d576f2f92742/raw/8f14d9616d31e84bbd74ab7deec0a1c314442aae/musl-1_2_5-retry-list-2.txt |
👌 Experiment ℹ️ Crater is a tool to run experiments across parts of the Rust ecosystem. Learn more |
🚧 Experiment ℹ️ Crater is a tool to run experiments across parts of the Rust ecosystem. Learn more |
🎉 Experiment
|
Mostly broken crates, with a broken cargo.toml in the try run. Looks like the patch didn't work for some reason. |
I forgot I was supposed to patch getrandom and not libc. :V |
This comment was marked as duplicate.
This comment was marked as duplicate.
This comment was marked as duplicate.
This comment was marked as duplicate.
grrh. |
This comment was marked as duplicate.
This comment was marked as duplicate.
This comment was marked as duplicate.
This comment was marked as duplicate.
This comment was marked as duplicate.
This comment was marked as duplicate.
This comment was marked as duplicate.
This comment was marked as duplicate.
@craterbot run mode=build-and-test name=musl_upgrade_1_2_5_with_getrandom_patch_0 start=try#8de4c7234dd9b97c9d76b58671343fdbbc9a433e+target=x86_64-unknown-linux-musl end=try#c066bf6804adc55193b71afdff6a56922f4a8689+target=x86_64-unknown-linux-musl+patch=getrandom=[email protected]:rust-random/getrandom=backports/v0.2 crates=https://gist.githubusercontent.com/workingjubilee/075aa4757096ce213b76d576f2f92742/raw/197ec4b1e9a09e208b6863172f6a1e9baceaa842/musl-1_2_5-retry-list-4.txt |
👌 Experiment ℹ️ Crater is a tool to run experiments across parts of the Rust ecosystem. Learn more |
🚧 Experiment ℹ️ Crater is a tool to run experiments across parts of the Rust ecosystem. Learn more |
I meant the patch caused the Cargo.toml to be invalid, not that the patch was ineffective. I think it needs to be
instead of
Note: the |
🎉 Experiment
|
Update the bundled musl library from 1.2.3 to the 1.2.5 release from February 29, 2024.
*-linux-musl
targets to musl 1.2.5 compiler-team#887*-linux-musl
targets to 1.2.3 #107129This is a rebase of
Which removes the second speculative commit which ended up not panning out.
I've added my own second commit that updates all other places I could find that referenced musl 1.2.3 in the codebase.
try-job: dist-x86_64-musl
try-job: dist-i586-gnu-i586-i686-musl
try-job: dist-x86_64-linux